package com.zy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.pojo.Staff;
import com.zy.vo.ManagementVo;
import com.zy.vo.StaffVo.StaffVo;

public interface StaffService extends IService<Staff> {
    StaffVo getPage(Integer pageNo, Integer pageSize, ManagementVo managementVo);
    Staff getUserCode(String userCode);
   public void add(Staff staff);
    public void update(Staff staff);
    public void del(Integer id);
    public void err(Integer id);
    public Staff login(String userCode, String password);
}
